package com.xiaofengstu.mcams.constant;

/**
 * @Author FengZeng
 * @Date 2022-05-10 18:28
 * @Description TODO
 */
public class SysConstants {
  // http
  public static final String HTTP_OPTION_REQUEST = "OPTIONS";

  public static final String TOKEN = "token";
  public static final String INVALID_TOKEN = "token无效或已过期，请重新登录";

  /**
   * user
   */
  public static final String USER_ID = "userId";
  public static final String USERNAME_OR_PASSWORD_ERROR = "用户名或密码错误";

  public static final Integer SYS_ADMIN_ID = 101;
  public static final Integer SYS_CAMPUS_ADMIN_ID = 103;




  /**
   * redis expire time
   */
  public static final Long HALF_HOUR = 60 * 30L;
  public static final Long ONE_DAY = 60 * 60 * 24L;
  public static final Long FIVE_MINUTE = 60 * 5L;
}
